Skip to content

Conversation

rolandszoke
Copy link
Member

Removed react-platform.
Had to leave react-dom and react-native in as dev deps since our testing libraries use them as peer deps.

* refactor(tests): lint test files
@rolandszoke rolandszoke changed the title Remove react platform Remove react platform and lint tests Feb 21, 2020
@coveralls
Copy link

coveralls commented Feb 21, 2020

Coverage Status

Coverage remained the same at 96.538% when pulling c446f83 on refactor_react-platform into 076b9f5 on master.

Copy link
Collaborator

@solkimicreb solkimicreb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The native/dom removal looks perfect (: Left two opinionated comments about linting. Those are not must dos, just something to discuss.

@@ -1,5 +1,6 @@
import React, { Component } from 'react';
import { render, cleanup, act } from '@testing-library/react/pure';
// eslint-disable-next-line import/no-unresolved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the linter cry because of the linking/mocking here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It cries because react-easy-state is not installed as a node package. It is only linked, and eslint cannot see that sadly.

@solkimicreb solkimicreb merged commit 14fd957 into master Feb 25, 2020
@solkimicreb
Copy link
Collaborator

Thanks!

@rolandszoke rolandszoke deleted the refactor_react-platform branch February 26, 2020 13:31
@rolandszoke
Copy link
Member Author

🎉 This PR is included in version 6.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants